//
//  $Id$
//  VCS_WS_Client
//
//  Created by hu_danyuan on 18-10-31.
//   (c) Copyright 2018, hu_danyuan All Rights Reserved
//
//	描    述:  VCS_WS_Client接口代理
//

#import <Foundation/Foundation.h>
#import "VCS_WS_VideoFrameInfo.h"
#import "VCS_WS_AudioFrameInfo.h"

@class VCS_WS_VideoMonitor;

@protocol VCS_WS_VideoMonitorDelegate <NSObject>

@optional
/** client连接通知消息 */
- (void)videoMonitorDidConnected:(VCS_WS_VideoMonitor *)videoMonitor;
/** client关闭通知消息 */
- (void)videoMonitorDidDisconnected:(VCS_WS_VideoMonitor *)videoMonitor;
/** client异常错误通知 */
- (void)videoMonitor:(VCS_WS_VideoMonitor *)videoMonitor didFailWithError:(NSError *)error;
/** 接收到通知消息 */
- (void)videoMonitor:(VCS_WS_VideoMonitor *)videoMonitor didReceiveNotify:(NSDictionary *)notifyInfo;
/** 接收到视频帧流数据 */
- (void)videoMonitor:(VCS_WS_VideoMonitor *)videoMonitor didReceiveVideoFrame:(VCS_WS_VideoFrameInfo *)frameInfo data:(NSData *)data;
/** 接收到音频帧流数据 */
- (void)videoMonitor:(VCS_WS_VideoMonitor *)videoMonitor didReceiveAudioFrame:(VCS_WS_AudioFrameInfo *)frameInfo data:(NSData *)data;
/** 码流下载进度 */
- (void)videoMonitor:(VCS_WS_VideoMonitor *)videoMonitor didDownloadPos:(NSInteger)downloadSize totalSize:(NSInteger)totalSize;

@end

